package com.zhuoyue.biz.core.command.model;

import com.zhuoyue.common.utils.CmdUtils;
import lombok.Data;

/**
 * 插卡取电数据帧配置
 *
 * @author wjming
 */
@Data
public class InsertCardGetElectricCmd extends BaseParams {
    /**
     * 延时时间
     */
    private String time;

    public InsertCardGetElectricCmd(String gatewayMac, String deviceMac, int time) {
        super(gatewayMac, deviceMac);
        this.time = CmdUtils.intToHexTwo(time);
    }

    public InsertCardGetElectricCmd(String gatewayMac, String deviceMac) {
        super(gatewayMac, deviceMac);
    }
}
